.container {
  flex-direction: column;
  background-color: #2c2c2c;
  height: 100%;
}

/* 顶部信息栏 */
.top-bar {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a1a;
  padding: 15px 20px;
  border-bottom: 2px solid #444;
}

.case-info {
  flex-direction: column;
}

.case-title {
  font-size: 18px;
  color: #ffffff;
  font-weight: bold;
}

.suspect-name {
  font-size: 14px;
  color: #cccccc;
}

.interrogation-stats {
  flex-direction: column;
  align-items: flex-end;
}

.suspicion-text, .stress-text {
  font-size: 12px;
  color: #ff9800;
  margin-bottom: 2px;
}

/* 嫌疑人信息卡片 */
.suspect-card {
  flex-direction: row;
  background-color: #333;
  padding: 20px;
  margin: 10px;
  border-radius: 15px;
  border: 2px solid #555;
}

.suspect-avatar {
  position: relative;
  margin-right: 20px;
}

.avatar-image {
  width: 80px;
  height: 80px;
  border-radius: 40px;
  border: 3px solid #666;
}

.emotion-indicator {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
}

.emotion-calm { background-color: #4caf50; }
.emotion-nervous { background-color: #ff9800; }
.emotion-angry { background-color: #f44336; }
.emotion-defensive { background-color: #9c27b0; }
.emotion-cooperative { background-color: #2196f3; }

.suspect-details {
  flex-direction: column;
  justify-content: space-around;
}

.detail-item {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 5px;
}

/* 对话区域 */
.conversation-area {
  flex: 1;
  background-color: #1a1a1a;
  margin: 10px;
  border-radius: 10px;
  padding: 15px;
}

.message-list {
  flex-direction: column;
}

.message-item {
  flex-direction: column;
  margin-bottom: 15px;
}

.message-detective {
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 10px;
}

.message-suspect {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 10px;
}

.message-system {
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.message-text {
  max-width: 70%;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.4;
}

.detective-text {
  background-color: #1976d2;
  color: #ffffff;
}

.suspect-text {
  background-color: #424242;
  color: #ffffff;
}

.system-text {
  background-color: #666;
  color: #ffffff;
  font-size: 12px;
  padding: 5px 10px;
}

.message-time {
  font-size: 10px;
  color: #999;
  margin-top: 5px;
}

.message-indicators {
  flex-direction: row;
  align-items: center;
  margin-top: 5px;
}

.lying-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.lying-text {
  font-size: 10px;
  color: #f44336;
}

/* 输入区域 */
.input-area {
  flex-direction: column;
  padding: 15px;
  background-color: #333;
}

.question-input-container {
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
}

.question-input {
  flex: 1;
  height: 40px;
  background-color: #1a1a1a;
  border: 2px solid #555;
  border-radius: 20px;
  padding: 0 15px;
  color: #ffffff;
  font-size: 14px;
}

.send-button {
  height: 40px;
  background-color: #4caf50;
  border-radius: 20px;
  padding: 0 20px;
  margin-left: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
}

.voice-controls {
  flex-direction: row;
  justify-content: center;
}

.voice-button {
  flex-direction: row;
  align-items: center;
  background-color: #ff9800;
  border-radius: 25px;
  padding: 10px 20px;
}

.voice-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.voice-text {
  font-size: 14px;
  color: #ffffff;
  font-weight: bold;
}

/* 快捷问题 */
.quick-questions {
  flex-direction: column;
  padding: 15px;
  background-color: #1a1a1a;
}

.quick-title {
  font-size: 16px;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 10px;
}

.quick-buttons {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

.quick-button {
  background-color: #555;
  border-radius: 15px;
  padding: 8px 15px;
  margin: 5px;
  color: #ffffff;
  font-size: 12px;
}

/* 嫌疑人切换 */
.suspect-switcher {
  flex-direction: column;
  padding: 15px;
  background-color: #333;
}

.switcher-title {
  font-size: 16px;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 10px;
}

.suspect-tabs {
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.suspect-tab {
  flex-direction: column;
  align-items: center;
  background-color: #555;
  border-radius: 10px;
  padding: 10px 15px;
  margin: 5px;
  position: relative;
}

.tab-name {
  font-size: 14px;
  color: #ffffff;
}

.tab-indicator {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #f44336;
  border-radius: 10px;
  width: 20px;
  height: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contradiction-count {
  font-size: 10px;
  color: #ffffff;
  font-weight: bold;
}

/* 底部操作栏 */
.bottom-actions {
  flex-direction: row;
  justify-content: space-around;
  background-color: #1a1a1a;
  padding: 15px;
  border-top: 2px solid #444;
}

.action-button {
  flex-direction: column;
  align-items: center;
  background-color: #444;
  border-radius: 10px;
  padding: 10px 15px;
}

.action-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 5px;
}

.action-text {
  font-size: 12px;
  color: #ffffff;
}